﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Collections.ObjectModel;

namespace OttawaTourMap.Models
{
    public class ImagesModel
    {
        public ImagesModel()
        {
            _imageCollection = new ObservableCollection<ImageURI>();
        }
        //Contains all the images for the tour
        private ObservableCollection<ImageURI> _imageCollection = null;
        public ObservableCollection<ImageURI> ImageCollection
        {
            get
            {
                return _imageCollection;
            }

        }

        public void addImageToCollection(ImageURI imageUri)
        {
            _imageCollection.Add(imageUri);
        }
    }

    public class ImageURI
    {
        private string _imageUri;
        public string ImageUri
        {
            get
            {
                return _imageUri;
            }
            
        }

        private string _imageTitle;
        public string ImageTitle
        {
            get
            {
                return _imageTitle;
            }

        }

        public ImageURI(String imageUri, String imageTitle)
        {
            _imageUri = imageUri;
            _imageTitle = imageTitle;
        }
    }
}
